﻿using Shop.RemoteModel.LogisticsConfig.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface ILogisticsConfigService
    {
        long Add (LogisticsConfigAdd add);
        LogisticsPrice CalculatePrice (CalculateLogistics param);
        void Delete (long id);
        LogisticsConfigDatum Get (long id);
        PagingResult<LogisticsConfigDatum> Query (LQueryParam query, IBasicPage paging);
        bool Set (long id, LogisticsConfigSet set);
        bool SetIsEnable (long id, bool enable);

        LogisticsConfigDatum[] Gets (LQueryParam query);
    }
}